Skip to content

Test/ac test 2#5

Open
Hoblovski wants to merge 10 commits into
mainfrom
test/ac-test-2
Open

Test/ac test 2#5
Hoblovski wants to merge 10 commits into
mainfrom
test/ac-test-2

Conversation

@Hoblovski
Copy link
Copy Markdown
Owner

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

Hoblovski and others added 10 commits December 3, 2025 03:49
Fixed type dependency recognition for type aliases (especially union types) across all parsers by extracting symbols from TypeReference node's typeName child instead of the node itself.

Changes:
- DependencyUtils: capture union/intersection type aliases before recursing into members
- TypeParser: extract symbols from typeName for TypeReference nodes, handle ExpressionWithTypeArguments, put type alias dependencies in InlineStruct instead of Implements
- FunctionParser: extract symbols from TypeReference typeName for function parameter/return types
- VarParser: extract symbols from TypeReference typeName for variable/property type annotations
- Added comprehensive unit tests for all three parsers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants